//==============================================================================
#include "GameEvent.h"

//==============================================================================
GameEvent::GameEvent(void)
{
	setType(UNKNOWN_GAMEEVENT_TYPE);
	setSourceID(-1);
}
//------------------------------------------------------------------------------
GameEvent::GameEvent(EventType type, int sourceID)
{
	setType(type);
	setSourceID(sourceID);
}
//------------------------------------------------------------------------------
GameEvent::~GameEvent(void)
{
}
//------------------------------------------------------------------------------
void GameEvent::setType(EventType e){
	this->type= e;
}
//------------------------------------------------------------------------------
EventType GameEvent::getType(void)
{
	return type;
}
//------------------------------------------------------------------------------
void GameEvent::setSourceID(int id)
{
	this->sourceID = id;
}
//------------------------------------------------------------------------------
int GameEvent::getSourceID()
{
	return this->sourceID;
}